package com.platform.qujia.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 班结对象 class_settlement
 * 
 * @author qujia
 * @date 2021-11-27
 */
@Data
public class ClassSettlement
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long classSettlementId;

    /** 班结编码，和油站id搭配排重 */

    private String classNo;

    private Long enterpriseId;

    private  Long userId;

    @ApiModelProperty(value = "设置是否可以员工班结1可以 0 不")
    private int openStaffClass;
    /** 油站id */
    private Long stationId;

    /** 油站名称 */
    private String stationName;

    /** 支付方式 */
    private String payType;

    /** 加油员id */
    private String oilPersonnelId;

    /** 加油员name */
    private String oilPersonnelName;

    /** 油品id */
    private String oilId;

    /** 油品名称 */
    private String oilName;

    /** $column.columnComment */
    private BigDecimal oilPrice;

    /** 油枪号 */
    private String oilGun;

    /** 油品类型 */
    private String oilType;

    /** 油品升数 */
    private BigDecimal orderLiters;

    /** 设备编码 */
    private String equipmentCode;

    /** 参加立减活动的id */
    private Long activityId;

    /** 参加活动的名称 */
    private String activityName;

    /** 此次班结订单数量 */
    private Long orderCount;

    /** 实收金额 */
    private BigDecimal amt;

    private BigDecimal collectionAmt;

    /** 应收金额 */
    private BigDecimal receivableAmt;


    private BigDecimal serviceCharge;

    /** 退款金额 */
    private BigDecimal refundAmt;

    /** 短款金额 */
    private BigDecimal moreAmt;

    /** 立减优惠金额 */
    private BigDecimal discountAmt;

    /** 优惠券优惠金额 */
    private BigDecimal discountCouponAmt;

    /** 是否补打 */
    private boolean extraPrint;

    /** 班结开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date classStartTime;

    /** 班结截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date classEndTime;

    /** 创建人 */
    private Long createUser;

    /** 创建人名 */
    private String createName;

    private String note;

    private Date createTime;

    private String beginTime;

    private String endTime;

    private String version;

    private String newClassNo;

    private String tlShiftsMask;

    private String tlShiftsTime;

    private Long payWayId;

    @ApiModelProperty(value = "提现总金额（元）")
//    @Excel(name = "提现总金额（元）")
    private BigDecimal totalWithdrawalAmount;

    @ApiModelProperty(value = "手续费（元）")
//    @Excel(name = "手续费（元）")
    private BigDecimal commission;

    @ApiModelProperty(value = "现金总金额（元）")
//    @Excel(name = "现金总金额（元）")
    private BigDecimal totalCashAmount;
    //0司机1油企
    @ApiModelProperty(value = "手续费支付者")
    private String channelFeePayer;
    /** 充值实收合计金额(元) */
    private BigDecimal actualRechargeReceivedAmt;
    /** 实际充值赠送金额(元) */
    @ApiModelProperty(value = "实际充值赠送金额(元)")
    private BigDecimal actualRechargeGiftAmt;
    @ApiModelProperty(value = "班结油机列表")
    private List<ClassSettlementOilmachine> classSettlementOilmachines;

    @ApiModelProperty(value = "充值立减优惠金额（元）")
    private BigDecimal rechargeReduceDiscounts;

    private BigDecimal sumPrice;

    @ApiModelProperty(value = "到账总金额（元）")
    private BigDecimal allAmt;

    @ApiModelProperty(value = "消费合计退款（元）")
    private BigDecimal consumptionRefundAmt;

    @ApiModelProperty(value = "优惠金额（元）")
    private BigDecimal totalDiscountAmt;

    @ApiModelProperty(value = "充值合计提现（元）")
    private BigDecimal totalRechargeWithdrawalAmount;

    @ApiModelProperty(value = "充值合计退款（元）")
    private BigDecimal totalRechargeRefundAmt;

    @ApiModelProperty("平台储值-电子卡")
    private BigDecimal rechargeDzk;
    @ApiModelProperty("平台储值-车队卡")
    private BigDecimal rechargeCdk;
    @ApiModelProperty("平台储值-实体卡")
    private BigDecimal rechargeDkq;
    @ApiModelProperty("平台储值-总计")
    private BigDecimal rechargeSum;
    @ApiModelProperty(value = "优惠券核销金额（元）")
    private BigDecimal killCouponAmt;
    @ApiModelProperty(value = "消费赠送金额（元）")
    private BigDecimal presentAmount;
    @ApiModelProperty(value = "无电子卡的实收金额(元)")
    private BigDecimal nodzkAmt;

    @ApiModelProperty(value = "班次day 白天 night 晚上")
    private String classesDayOrNight;
    @ApiModelProperty(value = "超级会员金额提现用（元）")
    private BigDecimal superPayAmt;
    @ApiModelProperty(value = "超级会员退款（元）")
    private BigDecimal superPayRef;
    @ApiModelProperty(value = "秒杀金额提现用（元）")
    private BigDecimal saleActivityAmt;
    @ApiModelProperty(value = "秒杀金额渠道费（元）")
    private BigDecimal saleActivityCom;

    /** 消耗积分 */
    private String score;
}
